/*
 * $Id: auth.h,v 1.2 2005-07-24 04:54:46 bacon Exp $
 */

#ifndef _XP_AUTH_H_
#define _XP_AUTH_H_

#include <xp/types.h>
#include <xp/macros.h>

#ifdef __cplusplus
extern "C" {
#endif

int xp_authuser (
	const xp_char_t* service, 
	const xp_char_t* user, const xp_char_t* pass);

int xp_chpasswd (
	const xp_char_t* service, 
	const xp_char_t* user, const xp_char_t* pass);

#ifdef __cplusplus
}
#endif
#endif
